import axios from '../request/index';
//页面管理内容
// /api/page?page=1&pageSize=12
export const getPage = (params: any) => {
    return axios.get('/api/page', { params });
};
// 删除页面管理内容
export const getPageDel = (id: any) => {
    return axios.delete(`/api/page/${id}`);
};
// 修改页面管理状态
export const changePage = (id: string, status: string) => {
  return axios.patch(`/api/page/${id}`, {
    status    
  })
}